package org.finalministry.rest;

import java.io.File;
import java.sql.SQLException;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import org.apache.commons.io.FileUtils;



@Path("/")
@Produces(MediaType.TEXT_HTML)
public class ServiceMainPage {

	@GET
	@Path("/")
	public String getCongregation() throws ClassNotFoundException, SQLException, Exception {



		return FileUtils.readFileToString(new File("web/finalministry.jsp"));

	}
}
